package me.zhengjie.sqlservice.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import me.zhengjie.mapper.WcsLineBodyPalletHistoryMapper;
import me.zhengjie.pojo.entity.WcsLineBodyPalletHistory;
import me.zhengjie.sqlservice.WcsLineBodyPalletHistoryService;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class WcsLineBodyPalletHistoryServiceImpl extends ServiceImpl<WcsLineBodyPalletHistoryMapper, WcsLineBodyPalletHistory> implements WcsLineBodyPalletHistoryService {
    private final WcsLineBodyPalletHistoryMapper wcsLineBodyPalletHistoryMapper;
    @Override
    public boolean insert(WcsLineBodyPalletHistory wcsLineBodyPalletHistory) {
        return wcsLineBodyPalletHistoryMapper.insert(wcsLineBodyPalletHistory) >0;
    }
}
